import service from '@/utils/request'


export default {
    list(pageNum, pageSize, uid) {
        return service({
            //-- `飘符号。作用等价于“”  区别在于可以在``符号内使用表达式！！
            url: `/order/listAll/${pageNum}/${pageSize}/${uid}`,
            method: 'get',
        })
    },
    xiangqing(index) {
        return service({
            url: `/order/listlittleorder/${index}`,
            method: 'get',
        })
    },
    deleteorder(index){
        return service({
            url: `/order/deleteorder/${index}`,
            method: 'get',
        })
    },
    updateS(index){
        return service({
            url: `/order/updateS/${index}`,
            method: 'get',
        })
    }
}